package comparer;

import checker.ArrayChecker;
import words.Noun;
import words.StringArrayType;
import words.Types;

public class NounComparer extends TypeComparer{
	private ArrayChecker arraychecker;
	public NounComparer()
	{
		this.arraychecker = new ArrayChecker();
	}
	public void compare()
	{
		StringArrayType origin_type = (StringArrayType) super.getOrigin();
		StringArrayType compared_type = (StringArrayType) super.getCompared();
		this.arraychecker.set_origin_arraylist(origin_type.getArrayList());
		this.arraychecker.set_compared_arraylist(compared_type.getArrayList());
		this.arraychecker.compare();
		super.set_count(this.arraychecker.getCount());
	}

}
